{if isset($page) && $page->total() > 1}
<div class="dataTables_info" id="data-table_info" role="status" aria-live="polite">共{$page->totalPages}页{$page->totalRows}条数据</div>
<div class="dataTables_paginate paging_simple_numbers" id="data-table_paginate">
    <a href="{if $page->now() > 1} {$page->url(1)} {else} javascript:void(0);{/if}" class="paginate_button {if $page->now() <= 1}disabled{/if}" aria-controls="data-table" data-dt-idx="0" tabindex="0">首页</a>
    <a href="{if $page->now() > 1} {$page->url($page->prev())}{else} javascript:void(0);{/if}" class="paginate_button previous " aria-controls="data-table" data-dt-idx="0" tabindex="0" id="data-table_previous">上一页</a>
    {foreach $page->page_list(5) as $v}
    {if $page->now() == $v.num}
    <span><a href="javascript:void(0);" class="paginate_button current" >{$v.num}</a></span>
    {else}
    <span><a href="{$v.url}" class="paginate_button ">{$v.num}</a></span>
    {/if}
    {/foreach}
    <a href="{if $page->now() < $page->end()} {$page->url($page->next())} {else} javascript:void(0);{/if}" class="paginate_button next" aria-controls="data-table" id="data-table_next">下一页</a>
    <a href="{if $page->now() < $page->end()} {$page->url($page->end())} {else} javascript:void(0);{/if}" class="paginate_button {if $page->now() >= $page->end()}disabled{/if}" aria-controls="data-table">末页</a>

</div>
{/if}

